package za.ac.lance.singleresponsibilityprinciple.obeys.service.impl;

import za.ac.lance.singleresponsibilityprinciple.obeys.model.Calculator;
import za.ac.lance.singleresponsibilityprinciple.obeys.service.Calc;

/**
 * File Name: CalcImpl.java
 * Version:
 * Description:
 * Package: za.ac.lance.singleresponsibilityprinciple.obeys.service.impl
 * Author: Lance
 * Date: Mar 2, 2012
 */
public class CalcImpl implements Calc
{

    private Calculator c = new Calculator(0);
    
    @Override
    public int Addition(int killos, int grams)
    {
        return c.Addition(killos, grams);
    }

    @Override
    public int Subtraction(int killos, int grams)
    {
        return c.Subtraction(killos, grams);
    }
}
